package STUDENT.DAODUCGIANG.OOPs.INHERISTANCE;

public class Example {
	float salary = 4000;
}
class Programmer extends Example{
	int bonus = 1000;
	
	public static void main(String[] args) {
		Programmer p=new Programmer();
		System.out.println("Luong cua lap trinh vien: "+p.salary);
		System.out.println("Thuong cua lap trinh vien: "+p.bonus);
	}
}
